
<!DOCTYPE html>
<html>
<head>
	<title>新增栏目</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" href="__ADMIN__/bootstrap/css/bootstrap.min.css" media="all">
    <link rel="stylesheet" href="__ADMIN__/adminlte/css/AdminLTE.min.css">
    <link rel="stylesheet" href="__ADMIN__/adminlte/css/font-awesome.min.css">
    <link rel="stylesheet" href="__ADMIN__/plugins/fileinput/css/fileinput.min.css">
</head>
<body>
    <div class="panel-body">
      <div class="row">
        <div class="col-xs-12">
         <div class="nav-tabs-custom">
            <ul class="nav nav-tabs">
              <li class="header"><i style="cursor: pointer;" onclick="window.history.back(-1);" class="fa fa-mail-reply-all"></i>修改用户</li>
            </ul>
             <form class="form-horizontal" enctype="multipart/form-data" method="post" action="{:url('edit')}">
                 <div class="box-body">
                        <input type="hidden" name="id" value="{$user.id}">
                     <div class="box-body">
                         <div class="form-group">
                             <label  class="col-sm-1 control-label"><span style="color:#f00;">*</span>用户名</label>
                             <div class="col-sm-3">
                                 <input type="text" name="username" class="form-control" value="{$user.username}"  placeholder="用户名">
                             </div>
                         </div>

                         <div class="form-group">
                             <label  class="col-sm-1 control-label"><span style="color:#f00;">*</span>密码</label>
                             <div class="col-sm-3">
                                 <input type="text" name="password" class="form-control"  placeholder="密码">
                             </div>
                         </div>
                         <div class="form-group">
                             <label  class="col-sm-1 control-label">所属用户组</label>
                             <div class="col-sm-2">
                                 <select name="group_id" class="form-control">
                                     {volist name="authGroup" id="vo"}
                                     <option {if condition='$vo.id == $user.group_id'}  selected {/if} value="{$vo.id}" > {$vo.title}</option>
                                     {/volist}
                                 </select>
                             </div>
                         </div>
                     </div>
                <div class="box-body">
                  <div class="form-group">
                      <label  class="col-sm-1 control-label"></label>
                      <div class="col-sm-2">
                          <button type="submit" class="btn btn-block btn-info">确认提交</button>
                      </div>
                  </div>
                </div>

             </form>
            <!-- /.tab-content -->
          </div>
        </div>
      </div>
    </div>
    
</body>

<!-- jQuery 2.2.3 -->
<script src="__ADMIN__/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="__ADMIN__/bootstrap/js/bootstrap.min.js"></script>
<script src="__ADMIN__/plugins/fileinput/js/fileinput.min.js"></script>
<script src="__ADMIN__/plugins/fileinput/js/locales/zh.js"></script>
<script>

    $("#pcFileImg").fileinput({
        language: 'zh',                        
        browseLabel: '选择附件',
        uploadAsync:false,
        showUpload: false,
        showPreview:false,
    })
    $("#mFileImg").fileinput({
        language: 'zh',
        browseLabel: '选择附件',
        uploadAsync:false,
        showUpload: false,
        showPreview:false,
    })
</script>
</html>